﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FeedingReport.Objects
{
    /// <summary>
    /// 报表对象
    /// </summary>
    public class ReportObject
    {
        public ReportObject(string deviceName, string material, DateTime? startTime, DateTime? endTime, decimal? settingValue, decimal? actualValue)
        {
            DeviceName = deviceName;
            Material = material;
            StartTime = startTime;
            EndTime = endTime;
            SettingValue = settingValue;
            ActualValue = actualValue;
        }

        /// <summary>
        /// 设备
        /// </summary>
        public string DeviceName { get; set; } = string.Empty;
        /// <summary>
        /// 粉体
        /// </summary>
        public string Material { get; set; } = string.Empty;
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 设定值
        /// </summary>
        public decimal? SettingValue { get; set; }
        /// <summary>
        /// 实际值
        /// </summary>
        public decimal? ActualValue { get; set; }
    }
}
